package cn.tedu._05mvcboot02.mapper;

import cn.tedu._05mvcboot02.pojo.entity.User;
import cn.tedu._05mvcboot02.pojo.vo.UserListVO;
import cn.tedu._05mvcboot02.pojo.vo.UserinfoVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {


    int insertUser(User user);

    List<UserListVO> selectUserList();

    int deleteUserById (int id);

    int updateById(User user);

    UserinfoVO selectUserinfoById(int id);
}
